package com.wolong.share.creation.singleton;

/**
 * 饿汉式：加载时就准备好
 *
 * @author wolong
 */
public class HungrySingleton {

    private static HungrySingleton singleton = new HungrySingleton();

    private HungrySingleton() {
    }

    public static HungrySingleton getInstance() {
        return singleton;
    }
}
